home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UTIL
/
DISKUTIL
/
ADFS_SWI_TRAP
/
_files
/
_ADFSwiTRA
/
README
< prev
next >
Wrap
Text File
|
1990-04-18
|
4KB
|
92 lines
Module : ADFSswi converter
Author : S. van Aardt
Version : 1.11
Date : April 1990
Revision : 1.11 Now conforms with the latest SCSI Firmware (1.11),
which is compatible with Acorns SWI calls.
Purpose : When active it will direct some ADFS swi calls to the SCSI,
thus enabling the use of a standard disc editor on your
SCSI hard disk.
CONTROL :
This program takes the form of a module, it sits in memory until
you either RMKILL/RMCLEAR it or do a CTRL-BREAK.
1) To turn it on (ie start translation of SWIs) type *TRAPON , it
will remain ON until the module is killed, or a memory shift
(RMTIDY) takes place. Pressing BREAK will not affect it.
2) To turn it off (ie stop translation, but still stays resident),
type *TRAPOFF.
3) At any time you can check to see whether it's ON or OFF by typing
*TRAPSTAT .
USEAGE :
Modules such as Clares Toolkit/Toolkit+, and Instigator have
disk editing and sector load/save features. Normally you can't
use these because they assume that you've got an ADFS hard disk.
That was fine a year or two ago, there weren't any SCSI's about
for the Archimedes then (well not in general production).
They generally make use of the ADFS_DiscOp to read sectors from
the disk. This program traps those calls and substitues a
SCSI_DiscOp in it's place. Depending upon how the Caller has been
writen this facility should be enough to get most of the
facilities working, for completion I've also included several
other ADFS_ calls. The complete list is given at the end.
Clares Toolkit+ is probably the fastest disk editor however is
pre-RiscOs and doesn't cope with E-FORMATed floppies, however you
can fool it into reading your disk by initially starting off with
a disk using the old format and then swapping it for the new one.
Happily there's no immediate problem with reading the Hard disk.
Unforunately it doesn't get the disk size quite right - in my case
it sees the Hard disk as &C6C6C00 bytes (196 MBYTES !!!). When
you attempt to access a non-existant sector nothing happens so
you needn't worry about damaging your hard disk.
Instigator - this product does cope with the RiscOS format, and
also the IBM 360/720 formats. And will also attempt to read a
USER format. This is rather a slow disc editor, and everything
else about it appears to be slow too. When reading from the Hard
Disk you'll have to select user mode. This is due to the way the
Module has been written - it recognises the Hard disk but doesn't
read any data from it - unusual because it does so in the RiscOS
mode (but only thinks of it then as an 800K floppy !!) - Well
you do go from one extreeme to another occasionally - although
I personally prefer Clares optimisitic view !!!
!PcDir - this is a public domain MSDOS disk reader. If you want to
copy files to and from MSDOS disks then I seriously recommend you
get a copy of this - the latest version if reasonably fast.
When the ADFSswi module is active you'll be able to use the
Harddisk option as well. This appears to be only a matter of an
initialisation problem - because it's advisable to *TRAPOFF if
you want to be able to use both an IBM floppy and H/d partition.
Note : You can also fool it into working with the hard disk if
you use *CONFIG. Harddisks 1 .
There aren't many other programs which make use of the feature's
I've described above. Other may not work due to the way they've
been written. *** If in doubt use a backup copy first. ***
ADFS swi calls supported :
ADFS_DiscOp --------> SCSI_DiscOp
ADFS_Drives --------> SCSI_Drives
ADFS_DescribeDisc --------> SCSI_DescribeDisc
ADFS_FreeSpace --------> SCSI_FreeSpace
The XSWI_ calls for the above are also supported.
( S. van Aardt, April 1990)